package selef.xiafan.service;

import selef.xiafan.entity.system.Stock;
import selef.xiafan.query.StockQuery;
import selef.xiafan.util.result.PageResult;

import java.util.List;

/**
 * @author xiafan
 * @version 1.0
 * @date 2021/7/21 23:13
 */
public interface IStockService {
    PageResult<Stock> listStock(StockQuery stockQuery);

    Integer addOrEdit(Stock stock);

    Integer changeEnable(Stock stock);

    void deleteByStock(Stock stock);

    List<Stock> enabledStockList();
}
